fix byte-compilation warnings in python-cell-mode

Signed-off-by: Thomas Hisch <t.hisch@gmail.com>