First Measurement of Charm Production in its Fixed-Target Configuration at the LHC