Are there any specific provisions in the certification realm, how the adverse aerodynamic effect of L/G retraction is accounted for?
Indeed. The FT program actually does retract the gear during performance takeoff testing and the protocols adopted are described in the AFM. Whatever effect(s) may be due to the gear's retraction sequence is captured by the FT data gathering process.