Correct LPC810 flash size; gcc build cleanups.

Fix the flash size in the gcc linker script (4K, not 64K)... wishful thinking?  ;-)

Clean up gcc build warnings.