Deprecate `SafeBuffer#gsub` and `SafeBuffer#sub` with block parameters

They may cause problems because magic variables such as `$1`
wouldn't work.
block_given? instead of !block.nil?