Fix #10847: allow to pass a block to `cattr_reader`.

Fix #10847

Example:

    class A
      cattr_reader(:defr) { 'default_reader_value' }
    end
    A.defr # => 'default_reader_value'