rpm: use DROP FUNCTION IF EXISTS ...

refs #1918