Higher derivative corrections to O-plane actions: NS-NS sector