Fix some byte-compiler warnings in eshell