[PATCH 4.9 15/83] cdrom: fix improper type cast, which can leat to information leak.