These functions don't change their inputs, so they can be const,
which is a bit more intuitive and clean to use for callers.
Originally I just wanted BKE_id_is_editable to have const inputs,
but it makes sense to change a few more similar functions too.