Coupling of relative intensity noise and pathlength noise to the length measurement in the optical metrology system of LISA Pathfinder