Issue 9357 - Better diagnostic on float literals

http://d.puremagic.com/issues/show_bug.cgi?id=9357

Opened as a more-general solution to https://github.com/D-Programming-Language/dmd/pull/1514.