[PATCH v2 4/8] d2d1: Add cubic bezier bounds functions.