Master integrals for double real radiation emission in heavy-to-light quark decay