[PATCH 3.16 328/328] cdrom: fix improper type cast, which can leat to information leak.