Modified MarlinSerial.h for use with test-code

You need the printFloat-function as public for the test-code to run.
In the original MarlinSerial.h it is declared as private.