debian: update postinst, prerm hooks

This syncs up the hooks with the latest master versions.  In particular,
do not blindly stop/restart daemons on package upgrade!

Fixes: #5414
Signed-off-by: Sage Weil <sage@inktank.com>