Add a workaround for weird tablets
Instead of the returning the size of the needed buffer these
"nice" tablet drivers start writing its name straight into
the buffer pointed by a null pointer.
See a comment in the code for more details
BUG:359298,362868,363684,363873,351059,354979,362948