doc: Use $(SED) where appropriate