Greene earns contract extension with Western Bulldogs