[PATCH 4.4 106/160] cdrom: fix improper type cast, which can leat to information leak.