Fix GH-16232: bitshift overflow on wbmp file content reading. backport from https://github.com/libgd/libgd/commit/a8f1d5cab0cad2bca2ed88a49c3f3de8585ff19b close GH-16239